<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>SpringBoot 练习</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

</head>
<body>
<div style="text-align: center;margin: 0 auto;width: 1000px;">
    <h1>练习Springboot 转载CSDN嘟嘟</h1>
    <table width="100%" border="1" cellpadding="1" cellspacing="0">
        <tr>
            <td>作者</td>
            <td>教程名称</td>
            <td>地址</td>
        </tr>
        <tr th:each="learn : ${learnList}">
            <td th:text="${learn.author}">作者名称</td>
            <td th:text="${learn.title}">Springboot</td>
            <td><a th:href="${learn.url}" target="_parent">点我跳转</a></td>
        </tr>
    </table>
</div>
</body>
</html>